package us.sunrisemorning.mykancolle.index;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import com.jfinal.handler.Handler;

public class JsHandler extends Handler {

    @Override
    public void handle(String target, HttpServletRequest request, HttpServletResponse response, boolean[] isHandled) {
        if ("/gadget/js/kcs_const.js".equals(target)) {
            target = "/gadget/js/kcs_constjs";
        }
        next.handle(target, request, response, isHandled);
    }

}
